﻿namespace DYH.Extensions.CAD.Wpf;

/// <summary>
/// 关闭窗口的消息
/// </summary>
/// <param name="viewModel">ViewModel名字</param>
public sealed class CloseWindowMessage(ObservableObject viewModel)
{
    /// <summary>
    /// ViewModel引用
    /// </summary>
    public WeakReference<ObservableObject> ViewModelRef { get; } = new(viewModel);
}